package com.wj.console.rpc;

import java.io.Serializable;

public class RpcResponse<T> implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public final static String SUCCESS="1";
	public final static String SYSTEM_ERROR = "999";//系统异常
	
	private String resultCode=SUCCESS;
	
	private String resultMsg;
	
	private T data;

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
	
	
}
